package com.wholeintech.entity;


import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

@Table(name = "Navigation")
public class Navigation extends EntityBase {
    /**
     * 名称
     */
    @Column(name = "name")
    private String name;
    /**
     * 类型
     */
    @Column(name = "type")
    private int type;

    /**
     * 设备ID
     */
    @Column(name = "devId")
    private String devId;

    /**
     * 锚点名称
     */
    @Column(name = "anchor")
    private String anchor;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDevId() {
        return devId;
    }

    public void setDevId(String devId) {
        this.devId = devId;
    }

    public String getAnchor() {
        return anchor;
    }

    public void setAnchor(String anchor) {
        this.anchor = anchor;
    }

    @Override
    public String toString() {
        return String.format("name=%s, devId=%s, type=%d, anchor=%s ", name, devId, type, anchor);
    }
}
